package com.ccrfid.rmc6.lbservice3.mq;

//{"personnelId":16,"time":1529571408891,"locationId":1,"ruleId":2}
//{"personnelId":17,"time":1529571546655,"locationId":14,"ruleId":3}
//{"personnelId":1220,"time":1529572137440,"locationId":312,"ruleId":4}
//{"personnelId":19,"time":1529572517922,"locationId":211,"ruleId":6}
public class MqPersonnelAlarm {
    private Long personnelId;
    private Long locationId;
    private Long ruleId;
    private Long time;

    public Long getPersonnelId() {
        return personnelId;
    }

    public void setPersonnelId(Long personnelId) {
        this.personnelId = personnelId;
    }

    public Long getLocationId() {
        return locationId;
    }

    public void setLocationId(Long locationId) {
        this.locationId = locationId;
    }

    public Long getRuleId() {
        return ruleId;
    }

    public void setRuleId(Long ruleId) {
        this.ruleId = ruleId;
    }

    public Long getTime() {
        return time;
    }

    public void setTime(Long time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "MqPersonnelAlarm{" +
                "personnelId=" + personnelId +
                ", locationId=" + locationId +
                ", ruleId=" + ruleId +
                ", time=" + time +
                '}';
    }
}
